package com.meitianhui.convenitenbuy.module.home.ui.activity.web;

import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;

import com.meitianhui.convenitenbuy.base.BaseWebViewActivity;

/**
 * Created by Administrator on 2017/11/7.
 */

public class BusinessWebViewActivity extends BaseWebViewActivity {
    @Override
    protected void initView(Bundle savedInstanceState) {
        super.initView(savedInstanceState);
        setTbTitle(mTitle);
    }

    @Override
    protected void urlLoading(WebView view, String url) {
        view.loadUrl(url);
    }

    @Override
    protected void receivedTitle(WebView view, String title) {
    }

    @Override
    protected void onRefreshData() {

    }

    @Override
    protected void isFinish() {
        if (mWebView.canGoBack()) {
            mWebView.goBack();
        } else {
            finish();
        }
    }

    @Override
    protected void shareWxMini(View v) {

    }
}
